" helper function to remove split part files {{{1
function! RmAllSplitPartsFunction()
  " wrapping is evil
  set nowrap
  " remove everything but file lines
  v/^-/d
  " remove excessive ls information
  g/./normal 8daW
  " remove everything but .\d\d\d files
  v/\.\d\d\d$/d
  " prepend rm command
  g/./normal Irm -f "
  " complete quotation mark
  g/./normal A"
  " output
  write! /tmp/vim-gen-rmallsplitparts.fish
  " quit
  q!
endfunction
